﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EasyExam.Model
{
    public interface IRepository<TEntity> 
    {
        TEntity Save(TEntity entity);
        TEntity GetEntityByKey(Object Key);
        IList<TEntity> GetEntityList(Object queryTerm);
        bool RemoveEntity(Object key);
    }
}
